<?php ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>myblog</title>
<link rel="stylesheet" type="text/css" href="styles/index.css"/>
<script type="text/javascript" src="navigation.js"></script>
</head>
<body>
<div id="container">
		<div id="banner">
		                <div id="header">
<?php
require_once("admin/conn.php");
$sql="SELECT BlogName,BlogNote FROM bloginfo";
$result=mysql_query($sql);
$row=mysql_fetch_array($result);
?>
						  <h4><?php echo $row['BlogName'] ?></h4>
						  <p><?php echo $row['BlogNote'] ?></p>
						  <p>http://www.baidu.com</p>		  
				    
		      </div>

		      <div id="globallink">
					<ul>
						  <li><a class="current" href="index.php">主页</a></li>
						  <li><a href="text.html">日志</a></li>
						  <li><a href="blogr.php">留言板</a></li>
						  <li><a href="infor.html">个人信息</a></li>				  
					</ul>
			    <br>
		      </div>
		</div>	
